package com.xiaoshuidi.cloud.module.rooms.api.map.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class GetHFAdministrativeVO {
    private RoomStreetLatlon parent;
    private List<RoomStreetLatlon> nodes;

    @Data
    public static class RoomStreetLatlon {
        private Long id;

        @Schema(description = "父id")
        private Long pid;

        @Schema(description = "行政区名称")
        private String name;

        @Schema(description = "纬度")
        private String lat;

        @Schema(description = "经度")
        private String lon;

        @Schema(description = "行政区划级别 0:国家 1:省份 2:市 3:区县 4:街道")
        private String level;
    }

}
